﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

using Weazel.Badger.Vhdl.Expressions;

#endregion

namespace Weazel.Badger.Vhdl.Statements
{
  public class WriteLineProcedure : SequentialStatement
  {
    private string buffer;
    private string file;

    public WriteLineProcedure(string buffer, string file)
    {
      this.buffer = buffer;
      this.file = file;
    }

		public override void Resolve(Entity entity, Process process, StatementCollection statements)
    {
    //  throw new NotImplementedException();
    }

    public override void Verify(ref List<VerifyMessage> messages)
    {
    //  throw new NotImplementedException();
    }

    public override void Write(System.CodeDom.Compiler.IndentedTextWriter writer)
    {
      writer.WriteLine("writeline({0}, {1});", file, buffer);
    }
  }
}
